﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BJDM_Syn.aspx.cs" Inherits="StudentManage.Web.Admin.Management.SysManage.DataSynList.BJDM_Syn" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register src="/Admin/PageHead/UC_Head.ascx" tagname="UC_Head" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
     <uc1:UC_Head ID="UC_Head1" runat="server" />
    <link href="SynStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="Main">
    <div class="title">
        <table  width="100%" border="0" cellpadding="0" cellspacing="0" node-type="header_table">
            <tbody>
                <tr>
                    <td align="left" style="width:500px;">
                         同步内容：<span>班级代码</span>&nbsp;&nbsp;&nbsp;&nbsp;执行状态:<asp:Label ID="lab_status" runat="server"></asp:Label> 
                    </td>
                    <td align="right">
                        <asp:Button ID="Btn_UpLoad" runat="server" Text="数据检测" 
                            onclick="Btn_UpLoad_Click" />
                        <asp:Button ID="Btn_Exec" runat="server" Text="执行" Enabled="false" 
                            onclick="Btn_Exec_Click" />
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <h2>需添加数据:<asp:Label ID="lab_InCount" runat="server"></asp:Label>条</h2>
    <div class="DataTable">
        <table border="1" cellpadding="0" cellspacing="0" >
            <thead class="nowtable">
                <tr>
                    <th>班级名称</th>
                    <th>班级代码</th>
                    <th>学院名称</th>
                    <th>学院代码</th>
                    <th>年级</th>
                    <th>所属专业代码</th>
                    <th>所属专业名称</th>
                    <th>学制</th>
                    <th>层次</th>
                    <th>是否毕业</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="UserTbody">
                <asp:Repeater ID="Rep_Insert" runat="server" 
                    onitemcommand="Rep_Insert_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td><%#Eval("BJMC")%></td>
                            <td><%#Eval("BJDM")%></td>
                            <td><%#Eval("XYMC")%></td>
                            <td><%#Eval("XYDM")%></td>
                            <td><%#Eval("NJ")%></td>
                            <td><%#Eval("SSZYDM")%></td>
                            <td><%#Eval("ZYMC")%></td>
                            <td><%#Eval("XZ")%></td>
                            <td><%#Eval("CC")%></td>
                            <td><%#Eval("SFBY")%></td>
                            <td><asp:Button ID="Btn_RepDel" runat="server" OnClientClick="return confirm('确定删除?');" CssClass="RepBtnDel" CommandName="Del" CommandArgument=<%#Eval("BJDM")%> /></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <webdiyer:aspnetpager id="AspNetPager_Insert" runat="server" pagesize="10" 
            firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" prevpagetext="上一页" 
            showpageindex="true" onpagechanged="AspNetPager_Insert_PageChanged">
        </webdiyer:aspnetpager>
    </div>
    <h2>需修改数据：<asp:Label ID="lab_UpCount" runat="server"></asp:Label>条</h2>
    <div class="DataTable">
        <table border="1" cellpadding="0" cellspacing="0">
            <thead class="nowtable">
                <tr>
                    <th>班级名称</th>
                    <th>班级代码</th>
                    <th>学院名称</th>
                    <th>学院代码</th>
                    <th>年级</th>
                    <th>所属专业代码</th>
                    <th>所属专业名称</th>
                    <th>学制</th>
                    <th>层次</th>
                    <th>是否毕业</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody id="UserTbody">
                <asp:Repeater ID="Rep_Update" runat="server" 
                    onitemcommand="Rep_Update_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td><%#Eval("BJMC")%></td>
                            <td><%#Eval("BJDM")%></td>
                            <td><%#Eval("XYMC")%></td>
                            <td><%#Eval("XYDM")%></td>
                            <td><%#Eval("NJ")%></td>
                            <td><%#Eval("SSZYDM")%></td>
                            <td><%#Eval("ZYMC")%></td>
                            <td><%#Eval("XZ")%></td>
                            <td><%#Eval("CC")%></td>
                            <td><%#Eval("SFBY")%></td>
                            <td><asp:Button ID="Btn_RepDel" runat="server" OnClientClick="return confirm('确定删除?');" CssClass="RepBtnDel" CommandName="Del" CommandArgument=<%#Eval("BJDM")%> /></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <webdiyer:aspnetpager id="AspNetPager_Update" runat="server" pagesize="10" 
            firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" prevpagetext="上一页" 
            showpageindex="true" onpagechanged="AspNetPager_Update_PageChanged">
        </webdiyer:aspnetpager>
    </div>
    </div>
    </form>
</body>
</html>